package com.estate.common.core.domain.model.enquiry;

// Enquiry.java

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@JsonIgnoreProperties(ignoreUnknown = true)
public class EnquiryResp {
    private String comment;

    @JsonProperty("contact_id")
    private Integer contactId;

    @JsonProperty("office_id")
    private Integer officeId;

    @JsonProperty("project_id")
    private Integer projectId;

    private Integer id;

    private String type;

    @JsonProperty("enquiry_date")
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
    private String enquiryDate;

    @JsonProperty("created_date")
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
    private String createdDate;

    @JsonProperty("agent_id")
    private Integer agentId;

    @JsonProperty("listing_id")
    private String listingId;

}